using ProtoBuf;

namespace Core;

[ProtoContract]
[CommandKey(CommandKey.RegisterAck)]
public sealed class RegisterRespPacket : PlayPacketWithIdentifier
{
    [ProtoMember(1)] public override ushort Identifier { get; set; }

    [ProtoMember(2)] public string? ErrorMessage { get; set; }

    [ProtoMember(3)] public bool SuccessFul { get; set; }

    [ProtoMember(4)] public uint UserId { get; set; }
}